export type tenantParam = {
  appId: string;
};

export interface tenantItem {
  tenantCode: string;
  tenantName: string;
}

export type appParam = {
  tenantCode: string;
};

export interface appItem {
  appId: string;
  appName: string;
}

export type SdrParams = {
  appId: string;
  tenantCode: string;
  orderStatus: string;
};

export interface SdrItem {
  actualUsageTime: string;
  appName: string;
  effectiveTime: string;
  expireTime: string;
  id: string;
  orderStatus: string;
  packageType: string;
  paymentType: string;
  status: string;
  tenantName: string;
}
export type SrdRecordResultModel = {
  total: number;
  items: SdrItem[];
};

export type SdrDetailParam = {
  id: string;
  orderStatus: string;
};

export type Actions = {
  duration: string;
  time: string;
  type: string;
};

export interface SdrDetailItem {
  actions: Actions[];
  actualUsageTime: string;
  appName: string;
  effectiveTime: string;
  expireTime: string;
  orderStatus: string;
  packageType: string;
  paymentType: string;
  status: string;
  tenantName: string;
}
